:root{
  /* Professional color palette */
  --brand-cyan: #00d4ff;
  --brand-pink: #ff3aa6;
  --bg-deep: #0b1020;
  --accent-blue: #2563eb;
  --accent-purple: #a788dc;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --card-bg: rgba(15, 23, 42, 0.7);
  --gradient-primary: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #7c3aed;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-elevated: #334155;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #c3d7f1;
  
  --border: rgba(148, 163, 184, 0.12);
  --border-light: rgba(148, 163, 184, 0.08);
  
  /* Before/After colors */
  --before-red: #dc2626;
  --before-bg: rgba(220, 38, 38, 0.1);
  --before-border: rgba(220, 38, 38, 0.3);
  
  --after-green: #10b981;
  --after-bg: rgba(16, 185, 129, 0.1);
  --after-border: rgba(16, 185, 129, 0.3);
  
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*{ 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}
    
body{
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Header Section */
.cases-container{
  max-width: none;
  width: 100%;
  margin: 0 auto;
  
}

.page-header {
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(37, 100, 235, 0.696), transparent 60%),
    radial-gradient(1000px 500px at 90% 10%, rgba(255, 58, 166, 0.548), transparent 60%),
    linear-gradient(135deg, var(--bg-deep), #254376);
}

.page-header--particles {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 1400px;
  z-index: -1;
}

.particles span {
  position: absolute;
  bottom: -150px;
  border-radius: 50%;
  mix-blend-mode: screen;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(245, 184, 184, 0.18),
    rgba(161, 230, 244, 0.12) 35%,
    rgba(247, 132, 195, 0.12) 65%,
    rgba(239, 151, 200, 0.08)
  );

  box-shadow:
    inset -12px -18px 30px rgba(255,255,255,0.12),
    inset 10px 14px 26px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(137, 229, 247, 0.18),
    0 0 28px rgba(248, 122, 191, 0.18);

  animation: bubble-float linear infinite;
}

/* ONLY animation-delay added below */

.particles span:nth-child(1)  { left: 4%;  width: 40px; height: 40px; animation-duration: 14s; animation-delay: -6s;  transform: translateZ(-200px); }
.particles span:nth-child(2)  { left: 18%; width: 90px; height: 90px; animation-duration: 22s; animation-delay: -14s; transform: translateZ(0); }
.particles span:nth-child(3)  { left: 32%; width: 60px; height: 60px; animation-duration: 18s; animation-delay: -9s;  transform: translateZ(-400px); }
.particles span:nth-child(4)  { left: 46%; width: 120px; height: 120px; animation-duration: 26s; animation-delay: -20s; transform: translateZ(200px); }
.particles span:nth-child(5)  { left: 60%; width: 50px; height: 50px; animation-duration: 16s; animation-delay: -7s;  transform: translateZ(-100px); }

.particles span:nth-child(6)  { left: 74%; width: 80px; height: 80px; animation-duration: 20s; animation-delay: -15s; transform: translateZ(150px); }
.particles span:nth-child(7)  { left: 88%; width: 35px; height: 35px; animation-duration: 13s; animation-delay: -4s;  transform: translateZ(-300px); }
.particles span:nth-child(8)  { left: 102%; width: 110px; height: 110px; animation-duration: 28s; animation-delay: -23s; transform: translateZ(250px); }

.particles span:nth-child(9)  { left: 10%; width: 70px; height: 70px; animation-duration: 19s; animation-delay: -11s; }
.particles span:nth-child(10) { left: 22%; width: 45px; height: 45px; animation-duration: 15s; animation-delay: -5s; }

.particles span:nth-child(11) { left: 32%; width: 95px; height: 95px; animation-duration: 24s; animation-delay: -17s; }
.particles span:nth-child(12) { left: 48%; width: 55px; height: 55px; animation-duration: 17s; animation-delay: -8s; }

.particles span:nth-child(13) { left: 60%; width: 130px; height: 130px; animation-duration: 30s; animation-delay: -26s; }
.particles span:nth-child(14) { left: 72%; width: 65px; height: 65px; animation-duration: 21s; animation-delay: -12s; }
.particles span:nth-child(15) { left: 90%; width: 45px; height: 45px; animation-duration: 16s; animation-delay: -10s; }

@keyframes bubble-float {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  85% {
    opacity: 1;
    transform: translateY(-80vh) scale(1);
  }

  92% {
    transform: translateY(-90vh) scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-100vh) scale(0);
    opacity: 0;
  }
}

header{
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.header-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.3);
}
 
.pulse-dot{
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.95); }
}

h1{
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, white, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.subtitle{
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
/* Use Case Selector */
.selector-container{
    margin-top: 24px;
    padding: 0px 24px 60px;
}

.selector-wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.use-case-selector {
  width: 100%;
  margin-bottom: 1.5rem;
  display: block;
}
 
.selector-label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-align: center;
}

.use-case-selector{
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px;
  padding-right: 56px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.use-case-selector:hover{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), var(--shadow-lg);
}

.use-case-selector:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-lg);
}

.use-case-selector option{
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 16px;
  font-size: 15px;
}

@media (max-width: 992px) {
  .use-case-tabs {
     display: none;
  }
}

@media (min-width: 992px) {
  .use-case-selector {
    display: none;
  }
  .use-case-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0 auto 2rem;
    max-width: 100%;
  }
  
  .use-case-tab {
    text-align: center;
    padding: 14px 16px;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  
    flex: 1;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    text-align: center;

    box-shadow: var(--shadow-lg);
    transform: translateY(0) scale(1);
    transition: all 0.25s ease;
  }

  .use-case-tab:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
  }

  .use-case-tab.active {
    background: linear-gradient(
      135deg,
      rgba(0,212,255,0.18),
      rgba(255,58,166,0.18)
    );
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2), var(--shadow-xl);
  }

  .use-case-tab .industry-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    background: var(--gradient-primary);
    color: white;
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 7px;
  }

  .use-case-tab .tab-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }
}
/* Tab Content */
.tab-content{
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active{
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
 /* Use Case Card */
.use-case-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
/* Card Header */
.card-header{
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.industry-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 16px;
}

.badge-dot{
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

.card-title{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--text-primary);
}

.card-meta{
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item{
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Metrics Section */
.metrics-section{
  padding: 32px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}

.metrics-header{
  text-align: center;
  margin-bottom: 40px;
  padding: 36px 32px;

  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,0,0,0.35)),
    var(--bg-card);

  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 24px 48px rgba(0,0,0,0.45);

  position: relative;
}

  
.metrics-header:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 24px 48px rgba(0,0,0,0.45),

    /* left / right */
    -10px 0 24px rgba(4, 136, 237, 0.222),
     10px 0 24px rgba(248, 9, 216, 0.222),

    /* top / bottom */
     0 -10px 24px rgba(4, 136, 237, 0.222),
     0  10px 24px rgba(248, 9, 216, 0.222);
}



  
.metrics-header-industry{
  display: inline-block;
  margin-bottom: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  background: var(--gradient-primary);
  color: white;

  backdrop-filter: blur(6px);
}
  
.metrics-header-title{
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

  
.metrics-header-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.metrics-header-meta span{
  padding: 9px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);

  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.22),
    rgba(236, 72, 153, 0.22)
  );

  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 10px 22px rgba(0,0,0,0.35);

  backdrop-filter: blur(8px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.metrics-header-meta span:hover{
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 16px 32px rgba(0,0,0,0.45);

  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.32),
    rgba(236, 72, 153, 0.32)
  );
}


 
.metrics-header-separator {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--border);
}

 
.section-title{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-primary);

  display: flex;              /* ← block-level */
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: fit-content;         /* allows long text */
  max-width: 100%;
  margin: 0 auto 24px;        /* now centers correctly */

  padding: 8px 20px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(11, 102, 141, 0.998),
    rgb(137, 8, 73)
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 20px rgba(0,0,0,0.35);

  backdrop-filter: blur(6px);
}

 
 .metrics-grid{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 16px;
 }
 
 .metric-card{
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   padding: 20px;
   transition: all 0.2s;
 }
 
 .metric-card:hover{
   transform: translateY(-2px);
   border-color: var(--primary);
   box-shadow: var(--shadow-md);
 }
 
 .metric-label{
   font-size: 12px;
   color: var(--text-muted);
   margin-bottom: 10px;
   display: flex;
   align-items: center;
   justify-content: space-between;
 }
 
 .metric-value{
   font-size: 28px;
   font-weight: 700;
   color: var(--text-primary);
   line-height: 1;
 }
 
 .metric-badge{
   display: inline-block;
   padding: 3px 8px;
   border-radius: 999px;
   font-size: 10px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.3px;
 }
 
 .metric-badge.success{
   background: var(--after-bg);
   color: var(--after-green);
   border: 1px solid var(--after-border);
 }
 
 .metric-badge.warning{
   background: rgba(245, 158, 11, 0.15);
   color: #fbbf24;
   border: 1px solid rgba(245, 158, 11, 0.3);
}
 /* Main Content Layout */
 .main-content{
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 0;
 }
 
 .left-column{
   padding: 32px;
   border-right: 1px solid var(--border);
 }
 
 
 .right-column{
   padding: 32px;
   background: var(--bg-dark);
   display: flex;
   flex-direction: column;
   gap: 16px;
}
 .workflow-actions{
   display: flex;
   justify-content: flex-start;
}
 .workflow-actions .btn{
   width: 100%;
}

/* Before/After Comparison */
.comparison-container{
  display: grid;
  gap: 24px;
  perspective: 1200px;
}

/* Base panel */
.comparison-panel{
  position: relative;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* BEFORE */
.comparison-panel.before{
  background:
    linear-gradient(135deg, rgba(220,38,38,0.12), rgba(220,38,38,0.04)),
    var(--bg-card);
  border-color: rgba(220,38,38,0.35);
}

/* AFTER */
.comparison-panel.after{
  background:
    linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04)),
    var(--bg-card);
  border-color: rgba(16,185,129,0.35);
}

/* Hover depth (panel only) */
.comparison-panel:hover{
  transform: translateY(-6px);
  box-shadow:
    0 28px 56px rgba(0,0,0,0.35),
    0 0 32px rgba(59,130,246,0.12);
}

/* Header */
.panel-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.panel-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

/* Header icon (breathing) */
.panel-icon{
  width: 34px;
  height: 34px;
  border-radius: 40%;
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
  animation: subtle-pulse 1.8s ease-in-out infinite;
}

/* BEFORE header icon */
.comparison-panel.before .panel-icon{
  background: rgba(220,38,38,0.15);
  color: #dc2626;
}
.comparison-panel.before .panel-icon::before{
  content: "\f057"; /* fa-times-circle */
}

/* AFTER header icon */
.comparison-panel.after .panel-icon{
  background: rgba(16,185,129,0.15);
  color: #10b981;
}
.comparison-panel.after .panel-icon::before{
  content: "\f058"; /* fa-check-circle */
}

/* List */
.comparison-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li{
  position: relative;
  padding: 14px 0 14px 42px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* List icon base (NO animation by default) */
.comparison-list li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* BEFORE list icon */
.comparison-panel.before .comparison-list li::before{
  content: "\f00d"; /* fa-xmark */
  background: rgba(220,38,38,0.18);
  color: #dc2626;
}

/* AFTER list icon */
.comparison-panel.after .comparison-list li::before{
  content: "\f00c"; /* fa-check */
  background: rgba(16,185,129,0.18);
  color: #10b981;
}

/* Hover – ICON ONLY (text untouched) */

.comparison-list li:hover::before{
  box-shadow: 0 0 10px rgba(16,185,129,0.35);
}

/* BEFORE hover swap */
.comparison-panel.before .comparison-list li:hover::before{
  background: rgba(220,38,38,0.28);
}

/* AFTER hover swap */
.comparison-panel.after .comparison-list li:hover::before{
  background: rgba(16,185,129,0.28);
}

/* Subtle pulse (header icons only) */

@keyframes subtle-pulse{
  0%{
    transform: scale(1);
    opacity: 0.7;
  }
  50%{
    transform: scale(1.08);
    opacity: 1;
  }
  100%{
    transform: scale(1);
    opacity: 0.7;
  }
}

/* Value Props */
.value-section{
  margin-top: 24px;
}

.value-grid{
  display: grid;
  flex-direction: column;
  gap: 20px;
}

.value-item{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25)),
    var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-item::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.value-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.value-item:hover::before{
  opacity: 0.12;
}

.value-icon{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 90, 90, 0.35), rgba(73, 57, 57, 0.203)),
    linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.35),
    0 10px 25px rgba(0,0,0,0.35);
}

.value-content h4{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-content p{
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0;
}
.value-content{
  padding-top: 6px;
}
 /* Workflow Simulator - Real Software Look */
 .workflow-simulator{
   background: var(--bg-elevated);
   border-radius: var(--radius-md);
   overflow: hidden;
   box-shadow: var(--shadow-lg);
   border: 1px solid var(--border);
       display: flex;
   flex-direction: column;
   flex: 1;
 }
 
 .simulator-header{
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 16px 20px;
   background: var(--bg-card);
   border-bottom: 1px solid var(--border);
 }
 
 .simulator-title{
   font-size: 14px;
   font-weight: 700;
   color: var(--text-primary);
 }
 
.status-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.15),
    rgba(236, 72, 153, 0.15)
  );
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--brand-cyan);
}
 
 .status-dot{
   width: 6px;
   height: 6px;
   background: var(--brand-cyan);
   border-radius: 50%;
   animation: pulse 2s infinite;
}
 /* App Window Simulation */
 .app-window{
   background: var(--bg-dark);
   min-height: 520px;
   flex: 1;
   display: flex;
   flex-direction: column;
 }
 
 .app-nav{
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px 16px;
   background: var(--bg-card);
   border-bottom: 1px solid var(--border);
 }
 
 .nav-dots{
   display: flex;
   gap: 6px;
 }
 
 .nav-dot{
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--text-muted);
   opacity: 0.3;
 }
 
 .nav-icons{
   display: flex;
   gap: 12px;
   margin-left: 20px;
 }
 
 .nav-icon{
   font-size: 16px;
   opacity: 0.5;
   cursor: pointer;
   transition: opacity 0.2s;
 }
 
 .nav-icon:hover{
   opacity: 1;
 }
 
 .app-main{
   padding: 20px;
   flex: 1;
   display: flex;
   flex-direction: column;
 }
 
 .app-header{
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 20px;
 }
 
 .app-header h3{
   font-size: 18px;
   font-weight: 700;
   color: var(--text-primary);
 }
 
.app-badge{
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(4, 245, 145, 0.436),
    rgba(236, 72, 154, 0.237)
  );
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--brand-cyan);
}
 
 .progress-bar{
   height: 6px;
   background: var(--bg-elevated);
   border-radius: 999px;
   overflow: hidden;
   margin-bottom: 24px;
 }
 
.progress-fill{
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
  background: linear-gradient(
    90deg,
    var(--brand-cyan),
    var(--brand-pink)
  );
  box-shadow: 0 0 14px rgba(0, 180, 216, 0.35);
}
 
.workflow-steps{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.workflow-steps::-webkit-scrollbar{
  width: 6px;
}

.workflow-steps::-webkit-scrollbar-track{
  background: var(--bg-elevated);
  border-radius: 3px;
}

.workflow-steps::-webkit-scrollbar-thumb{
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    var(--brand-cyan),
    var(--brand-pink)
  );
}

.workflow-step{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.workflow-step.active{
  border-color: rgba(0, 180, 216, 0.45);
  background: linear-gradient(
    145deg,
    rgba(0, 180, 216, 0.06),
    rgba(236, 72, 153, 0.04)
  );
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.12);
}
 
 .workflow-step.done{
   opacity: 0.5;
 }
 
.step-number{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.workflow-step.active .step-number{
  background: linear-gradient(
    135deg,
    var(--brand-cyan),
    var(--brand-pink)
  );
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.45);
}

.workflow-step.done .step-number{
  background: linear-gradient(
    135deg,
    rgba(0, 200, 150, 0.85),
    rgba(0, 160, 120, 0.85)
 );
 border-color: transparent;
 color: #fff;
}
 
 .step-content{
   flex: 1;
 }
 
 .step-title{
   font-size: 14px;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 4px;
 }
 
 .step-description{
   font-size: 12px;
   color: var(--text-muted);
   margin-bottom: 8px;
   line-height: 1.4;
 }
 
 .step-tags{
   display: flex;
   gap: 6px;
   flex-wrap: wrap;
 }
 
.step-tag{
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: #f472b6;
}

.step-tag.ai{
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.18),
    rgba(236, 72, 153, 0.18)
  );
  border-color: rgba(0, 180, 216, 0.35);
  color: #67e8f9;
}

.step-status{
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  white-space: nowrap;
}

.step-status.run{
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.2),
    rgba(236, 72, 153, 0.2)
  );
  color: var(--brand-cyan);
  animation: pulse 1s infinite;
}

.step-status.done{
  background: rgba(0, 200, 150, 0.18);
  color: #6ee7b7;
}

/* ── Card CTA Strip ────────────────────────────────── */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(255, 58, 166, 0.10)
  );
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.card-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 220px;
}

.card-cta-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-cta-text span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-pink));
  color: #0b1020;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
  transition: all 0.22s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.38);
  color: #0b1020;
}

/* ── Priority Badge & Header Top ───────────────────── */
.metrics-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.metrics-header-labels {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.industry-dot-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  color: white;
}

/* ── Metric Card – value-first layout ─────────────── */
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.metric-card .metric-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-card .metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.metric-card .metric-badge {
  margin-top: 4px;
  align-self: flex-start;
}

/* ── Section Block spacing ─────────────────────────── */
.section-block {
  margin-bottom: 36px;
}

.section-block:last-child {
  margin-bottom: 0;
}

/* Card Footer */
 .card-footer{
   padding: 24px 32px;
   background: var(--bg-elevated);
   border-top: 1px solid var(--border);
   display: flex;
   align-items: center;
   justify-content: flex-end;
   flex-wrap: wrap;
   gap: 16px;
 }
 
 .action-buttons{
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
 }
 
 .btn{
   padding: 12px 24px;
   border-radius: var(--radius-sm);
   font-size: 14px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.2s;
   border: none;
   outline: none;
 }
 
.btn-primary{
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
 
 .btn-primary:hover{
   transform: translateY(-2px);
   box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
 }
 
 .btn-secondary{
   background: var(--bg-dark);
   color: var(--text-primary);
   border: 1px solid var(--border);
 }
 
 .btn-secondary:hover{
   background: var(--bg-card);
   border-color: var(--primary);
 }
 
 .case-id{
   font-size: 12px;
   color: var(--text-muted);
   font-family: 'Courier New', monospace;
 }
 
 .case-id span{
   color: var(--primary);
   font-weight: 600;
}
 /* Responsive */
 
 /* Desktop to Tablet (1024px - 1200px) */
 @media (max-width: 1200px){
   .main-content{
     grid-template-columns: 1fr;
   }
   
   .left-column{
     border-right: none;
     border-bottom: 1px solid var(--border);
   }
   
   .right-column{
     background: var(--bg-card);
   }
   
   .workflow-steps{
     max-height: 500px;
   }
   
   .app-window{
     min-height: 500px;
   }
 }
 
/* Tablet Landscape (900px - 1024px) */
@media (max-width: 1024px){
  
  h1{
    font-size: 36px;
  }
  
  .subtitle{
    font-size: 16px;
  }
  
  .selector-wrapper{
    max-width: 100%;
  }
  
  .selector-container{
    margin-bottom: 40px;
  }
  
  .metrics-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metrics-header{
    margin-bottom: 24px;
    padding: 24px 28px;
  }
  
  .metrics-header-title{
    font-size: 24px;
  }
  
  .metrics-header-meta{
    font-size: 13px;
  }
  
  .card-title{
    font-size: 24px;
  }
  
  .comparison-container{
    gap: 16px;
  }
  
  .value-grid{
    gap: 14px;
  }
}
 
/* Tablet Portrait (768px - 900px) */
@media (max-width: 900px){
  .use-case-selector{
    font-size: 15px;
    padding: 98px 22px;
    padding-right: 52px;
  }
  
  .selector-info{
    flex-direction: column;
    gap: 8px;
  }
  
  .selector-container{
    margin-bottom: 36px;
  }
  
  .metrics-grid{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .metrics-header{
    margin-bottom: 20px;
    padding: 22px 24px;
  }
  
  .metrics-header-industry{
    font-size: 11px;
    margin-bottom: 12px;
  }
  
  .metrics-header-title{
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .metrics-header-meta{
    font-size: 12px;
  }
  
  .metric-card{
    padding: 16px;
  }
  
  .metric-value{
    font-size: 24px;
  }
  
  .card-header,
  .metrics-section,
  .left-column,
  .right-column{
    padding: 24px;
  }
  
  .comparison-panel{
    padding: 20px;
  }
  
  .value-item{
    padding: 16px;
  }
  
  .workflow-step{
    padding: 14px;
  }
}
 
/* Mobile Landscape & Large Mobile (600px - 768px) */
@media (max-width: 768px){  
  header{
    margin-bottom: 32px;
    padding-top: 16px;
  }
  
  h1{
    font-size: 28px;
  }
  
  .subtitle{
    font-size: 15px;
  }
  
  .header-badge{
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  
  .tabs-container{
    margin-bottom: 20px;
  }
  
  .selector-label{
    font-size: 11px;
    margin-bottom: 10px;
  }
  
  .use-case-selector{
    font-size: 14px;
    padding: 16px 20px;
    padding-right: 48px;
    background-size: 18px;
    background-position: right 16px center;
  }
  
  .selector-info{
    margin-top: 10px;
  }
  
  .selector-industry{
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .selector-stats{
    font-size: 11px;
    gap: 12px;
  }
  
  .card-title{
    font-size: 20px;
  }
  
  .card-meta{
    font-size: 13px;
    flex-direction: column;
    gap: 8px;
  }
  
  .industry-badge{
    font-size: 11px;
    padding: 5px 12px;
  }
  
  .selector-container{
    margin-bottom: 32px;
  }
  
  .metrics-grid{
    grid-template-columns: 1fr;
  }
  
  .metrics-header{
    margin-bottom: 20px;
    padding: 20px 18px;
  }
  
  .metrics-header-industry{
    font-size: 10px;
    margin-bottom: 10px;
  }
  
  .metrics-header-title{
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .metrics-header-meta{
    font-size: 12px;
    flex-direction: column;
    gap: 6px;
  }
  
  .metrics-header-separator{
    display: none;
  }
  
  .metric-card{
    padding: 16px;
  }
  
  .metric-label{
    font-size: 11px;
  }
  
  .metric-value{
    font-size: 22px;
  }
  
  .metric-badge{
    font-size: 9px;
    padding: 2px 6px;
  }
  
  .card-header,
  .metrics-section,
  .left-column,
  .right-column,
  .card-footer{
    padding: 20px;
  }

  .card-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
  
  .section-title{
    font-size: 12px;
    margin-bottom: 16px;
  }
  
  .comparison-panel{
    padding: 18px;
  }
  
  .panel-title{
    font-size: 14px;
  }
  
  .panel-icon{
    font-size: 18px;
  }
  
  .comparison-list li{
    font-size: 13px;
    padding: 10px 0;
    padding-left: 50px;
  }

  .comparison-list li::before{
    left: 4px;
  }
  
  .value-section{
    margin-top: 20px;
  }
  
  .value-item{
    padding: 14px;
    gap: 12px;
  }
  
  .value-icon{
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .value-content h4{
    font-size: 13px;
  }
  
  .value-content p{
    font-size: 12px;
  }
  
  .simulator-header{
    padding: 14px 18px;
  }
  
  .simulator-title{
    font-size: 13px;
  }
  
  .status-badge,
  .app-badge{
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .app-main{
    padding: 16px;
  }
  
  .app-header h3{
    font-size: 16px;
  }
  
  .workflow-steps{
    max-height: 400px;
  }
  
  .workflow-step{
    padding: 12px;
    gap: 12px;
  }
  
  .step-number{
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  
  .step-title{
    font-size: 13px;
  }
  
  .step-description{
    font-size: 11px;
  }
  
     .step-tag{
       font-size: 9px;
       padding: 2px 6px;
     }
     
     .step-status{
       font-size: 9px;
       padding: 3px 8px;
     }
     
     .btn{
       padding: 12px 20px;
       font-size: 13px;
     }
     
     .card-footer{
       padding: 16px 20px;
     }
     
     .case-id{
       font-size: 11px;
     }
   }
   
   /* Mobile Portrait (480px - 600px) */
   @media (max-width: 600px){
     
     h1{
       font-size: 24px;
     }
     
     .subtitle{
       font-size: 14px;
     }
     
     .card-title{
       font-size: 18px;
     }
     
     .selector-label{
       font-size: 10px;
     }
     
     .use-case-selector{
       font-size: 13px;
       padding: 14px 18px;
       padding-right: 44px;
       background-size: 16px;
     }
     
     .tabs-nav{
       padding: 8px;
     }
     
     .card-header,
     .metrics-section,
     .left-column,
     .right-column{
       padding: 16px;
     }
     
     .selector-container{
       margin-bottom: 28px;
     }
     
     .metric-value{
       font-size: 20px;
     }
     
     .metrics-header{
       padding: 18px 16px;
     }
     
     .metrics-header-title{
       font-size: 18px;
     }
     
     .metrics-header-meta{
       font-size: 11px;
     }
     
     .comparison-panel{
       padding: 16px;
     }
     
     .comparison-list li{
       font-size: 12px;
       padding-left: 45px;
     }

  .comparison-list li::before{
    left: 4px;
  }
     
     .value-item{
       padding: 12px;
     }
     
     .value-icon{
       width: 36px;
       height: 36px;
       font-size: 18px;
     }
     
     .app-nav{
       padding: 10px 14px;
     }
     
     .nav-icons{
       margin-left: 12px;
       gap: 10px;
     }
     
     .nav-icon{
       font-size: 14px;
     }
     
     .app-main{
       padding: 14px;
     }
     
     .app-header h3{
       font-size: 14px;
     }
     
     .workflow-steps{
       max-height: 350px;
     }
     
     .workflow-step{
       padding: 10px;
     }
     
     .step-number{
       width: 26px;
       height: 26px;
       font-size: 12px;
     }
     
     .step-title{
       font-size: 12px;
     }
     
     .step-description{
       font-size: 10px;
     }
   }
   
   /* Small Mobile (< 480px) */
   @media (max-width: 480px){
     
     h1{
       font-size: 22px;
     }
     
     .subtitle{
       font-size: 13px;
     }
     
     .header-badge{
       font-size: 10px;
       padding: 5px 10px;
     }
     
     .card-title{
       font-size: 16px;
       line-height: 1.3;
     }
     
     .card-meta{
       font-size: 11px;
     }
     
     .industry-badge{
       font-size: 10px;
       padding: 4px 10px;
     }
     
     .card-header,
     .metrics-section,
     .left-column,
     .right-column{
       padding: 14px;
     }
     
     .section-title{
       font-size: 11px;
     }
     
     .metric-card{
       padding: 14px;
     }
     
     .metric-label{
       font-size: 10px;
     }
     
     .selector-container{
       margin-bottom: 24px;
     }
     
     .metric-value{
       font-size: 18px;
     }
     
     .metrics-header{
       padding: 16px 14px;
     }
     
     .metrics-header-industry{
       font-size: 9px;
       margin-bottom: 8px;
     }
     
     .metrics-header-title{
       font-size: 16px;
       margin-bottom: 8px;
     }
     
     .metrics-header-meta{
       font-size: 10px;
     }
     
     .comparison-panel{
       padding: 14px;
     }
     
     .panel-title{
       font-size: 13px;
     }
     
     .comparison-list li{
       font-size: 11px;
       padding: 8px 0;
       padding-left: 40px;
     }

  .comparison-list li::before{
    left: 4px;
  }
     .value-item{
       align-items: center;
     }

  .value-content{
    flex: 1;
    min-width: 0;
  }
     
     .value-icon{
       width: 40px;
       height: 40px;
     }
     
     .value-content h4{
       font-size: 12px;
     }
     
     .value-content p{
       font-size: 11px;
     }
     
     .simulator-header{
       padding: 12px 14px;
       flex-direction: column;
       align-items: flex-start;
       gap: 8px;
     }
     
     .simulator-title{
       font-size: 12px;
     }
     
     .app-nav{
       padding: 8px 12px;
     }
     
     .nav-dots{
       gap: 4px;
     }
     
     .nav-dot{
       width: 8px;
       height: 8px;
     }
     
     .nav-icons{
       margin-left: 8px;
       gap: 8px;
     }
     
     .nav-icon{
       font-size: 13px;
     }
     
     .app-main{
       padding: 12px;
     }
     
     .app-header{
       flex-direction: column;
       align-items: flex-start;
       gap: 8px;
     }
     
     .app-header h3{
       font-size: 13px;
     }
     
     .workflow-steps{
       max-height: 300px;
     }
     
     .workflow-step{
       padding: 10px;
       gap: 10px;
     }
     
     .step-number{
       width: 24px;
       height: 24px;
       font-size: 11px;
     }
     
     .step-content{
       flex: 1;
       min-width: 0;
     }
     
     .step-title{
       font-size: 11px;
     }
     
     .step-description{
       font-size: 10px;
       margin-bottom: 6px;
     }
     
     .step-tags{
       gap: 4px;
     }
     
     .step-tag{
       font-size: 8px;
       padding: 2px 6px;
     }
     
     .step-status{
       font-size: 8px;
       padding: 2px 6px;
     }
     
     .btn{
       width: 100%;
       padding: 10px 16px;
       font-size: 12px;
     }
     
     .card-footer{
       padding: 14px;
     }
     
     .case-id{
       font-size: 10px;
       text-align: center;
     }
   }
   
   /* Touch device optimizations */
   @media (hover: none) and (pointer: coarse){
     .btn,
     .workflow-step,
     .value-item,
     .comparison-panel{
       transform: none !important;
     }
     
     .use-case-selector{
       min-height: 56px;
       font-size: 16px; /* Prevents zoom on iOS */
     }
     
     .btn:active{
       opacity: 0.9;
     }
     
     /* Increase touch targets */
     .btn{
       min-height: 44px;
     }
     
     .nav-icon{
       padding: 8px;
     }
   }
   
   /* Landscape orientation adjustments */
   @media (max-width: 900px) and (orientation: landscape){
     .workflow-steps{
       max-height: 300px;
     }
     
     .app-window{
       min-height: 300px;
     }
     
     header{
       margin-bottom: 24px;
     }
     
     .tabs-container{
       margin-bottom: 16px;
     }
   }
   
   /* Print styles */
   @media print{
     body{
       background: white;
       color: black;
     }
     
     .header-badge,
     .btn,
     .selector-container{
       display: none;
     }
     
     .use-case-card{
       page-break-inside: avoid;
       box-shadow: none;
       border: 1px solid #ccc;
     }
     
     .workflow-steps{
       max-height: none;
       overflow: visible;
     }
   }