  /* =========================================
     SECTION 01 STYLES
     ========================================= */

  /* --- SCOPED VARIABLES & RESET --- */
  #uiux-hero {
    position: relative;
    width: 100%;
    padding: 80px 20px 80px 20px; /* Increased top padding for header clearance */
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Global Body Font */
    color: #fff;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1; /* Lowest content layer, distinct from nav */
  }
  
  #uiux-hero * { box-sizing: border-box; }

  /* --- BACKGROUND EFFECTS --- */
  .uiux-bg-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: uiPulse 8s infinite alternate;
  }

  .uiux-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  }

  /* --- CONTAINER --- */
  .uiux-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
  }

  /* --- LEFT: CONTENT --- */
  .uiux-content {
    flex: 1;
    max-width: 600px;
  }

  .uiux-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    color: #A855F7;
    font-size: 1rem;
  }

  .uiux-badge-text {
    font-family: 'Space Grotesk', sans-serif; /* Global Tech Font */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .uiux-title {
    font-family: 'Mona Sans', sans-serif; /* Global Heading Font */
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive Fluid Type */
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
  }

  .text-gradient-ui {
    background: linear-gradient(135deg, #A855F7 0%, #28CCCD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .uiux-sub {
    font-size: 1.125rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 95%;
  }

  .uiux-sub strong { color: #fff; font-weight: 600; }

  /* Buttons */
  .uiux-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .btn-uiux-primary {
    background: #A855F7;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .btn-uiux-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4); 
  }

  .btn-uiux-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .btn-uiux-outline:hover { 
    background: rgba(255, 255, 255, 0.05); 
    border-color: #fff; 
  }

  /* Tech Stack Row */
  .uiux-tech-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .tech-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.75rem;
      color: #64748B;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
  }
  
  .tech-icons {
      display: flex; gap: 20px; color: #64748B; font-size: 1.5rem;
  }
  .tech-icons i { transition: color 0.3s ease; }
  .tech-icons i:hover { color: #fff; }

  /* --- RIGHT: VISUAL (Wireframe to UI) --- */
  .uiux-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    perspective: 1000px;
    position: relative;
  }

  .interface-container {
    width: 450px;
    height: 350px;
    position: relative;
    background: #0B0F19;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    will-change: transform;
  }

  /* The Layers */
  .layer-wireframe {
      position: absolute; inset: 0;
      background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
      background-size: 20px 20px;
      z-index: 1;
      padding: 20px;
  }

  /* Wireframe Elements */
  .wf-header { height: 40px; background: rgba(255,255,255,0.05); margin-bottom: 20px; border-radius: 8px; }
  .wf-sidebar { width: 60px; height: 200px; background: rgba(255,255,255,0.05); border-radius: 8px; position: absolute; left: 20px; top: 80px; }
  .wf-content { margin-left: 80px; height: 200px; background: rgba(255,255,255,0.05); border-radius: 8px; }

  /* High Fidelity Overlay */
  .layer-ui {
      position: absolute; inset: 0;
      background: #1e293b;
      z-index: 2;
      clip-path: inset(0 100% 0 0);
      animation: scanReveal 4s infinite ease-in-out;
      padding: 20px;
  }
  
  /* UI Elements (Colorful) */
  .ui-header { 
      height: 40px; background: #0f172a; margin-bottom: 20px; border-radius: 8px; 
      display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; gap: 10px;
  }
  .ui-dot { width: 10px; height: 10px; border-radius: 50%; background: #28CCCD; }
  .ui-dot.accent { background: #A855F7; }
  
  .ui-sidebar { 
      width: 60px; height: 200px; background: #0f172a; border-radius: 8px; position: absolute; left: 20px; top: 80px; 
      display: flex; flex-direction: column; align-items: center; padding-top: 20px; gap: 10px;
  }
  .ui-icon { width: 30px; height: 30px; background: rgba(168, 85, 247, 0.2); border-radius: 6px; }

  .ui-content { 
      margin-left: 80px; height: 200px; background: #334155; border-radius: 8px; position: relative;
      display: flex; align-items: center; justify-content: center;
  }
  .ui-chart {
      width: 80%; height: 60%;
      background: linear-gradient(135deg, rgba(40, 204, 205, 0.1), rgba(168, 85, 247, 0.1));
      border: 1px solid rgba(40, 204, 205, 0.3);
      border-radius: 8px;
  }

  /* Scanner Line */
  .scan-bar {
      position: absolute; top: 0; bottom: 0; width: 4px; background: #28CCCD;
      box-shadow: 0 0 20px #28CCCD;
      z-index: 3;
      left: 0;
      animation: scanMove 4s infinite ease-in-out;
      pointer-events: none;
  }

  /* ANIMATIONS */
  @keyframes uiPulse { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0.8; transform: scale(1.1); } }
  
  @keyframes scanReveal {
      0% { clip-path: inset(0 100% 0 0); }
      50% { clip-path: inset(0 0 0 0); }
      100% { clip-path: inset(0 0 0 0); }
  }
  
  @keyframes scanMove {
      0% { left: 0; opacity: 1; }
      50% { left: 100%; opacity: 1; }
      51% { left: 100%; opacity: 0; }
      100% { left: 0; opacity: 0; }
  }

  /* ACCESSIBILITY: REDUCED MOTION */
  @media (prefers-reduced-motion: reduce) {
    .uiux-bg-glow, .scan-bar { animation: none; }
    .layer-ui { clip-path: inset(0 0 0 0); animation: none; }
    .scan-bar { display: none; }
  }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .uiux-container { flex-direction: column; text-align: center; gap: 40px; }
    .uiux-content { align-items: center; display: flex; flex-direction: column; max-width: 100%; }
    .uiux-actions { justify-content: center; }
    .uiux-tech-row { justify-content: center; }
    .uiux-visual { width: 100%; height: 400px; }
    .interface-container { transform: scale(0.9); }
  }

  @media (max-width: 600px) {
    #uiux-hero { padding-top: 100px; } /* Adjust padding for mobile header */
    .uiux-actions { flex-direction: column; width: 100%; gap: 10px; }
    .btn-uiux-primary, .btn-uiux-outline { width: 100%; justify-content: center; }
    .interface-container { transform: scale(0.75); transform-origin: center; }
  }
  
  
    /* =========================================
     SECTION 02 STYLES
     ========================================= */

  /* --- SCOPED VARIABLES & RESET --- */
  #uiux-what-is {
      position: relative;
      width: 100%;
      padding: 100px 20px;
      background: transparent;
      font-family: 'Plus Jakarta Sans', sans-serif; /* Global Body */
      color: #fff;
      box-sizing: border-box;
      overflow: hidden;
      z-index: 2;
  }
  
  #uiux-what-is * { box-sizing: border-box; }

  .ui-container {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
  }

  /* --- HEADER --- */
  .ui-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 80px auto;
  }
  
  .ui-badge {
      display: inline-block;
      padding: 6px 16px;
      background: rgba(168, 85, 247, 0.1);
      border: 1px solid rgba(168, 85, 247, 0.3);
      border-radius: 50px;
      color: #A855F7;
      font-family: 'Space Grotesk', sans-serif; /* Global Tech Font */
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
  }

  .ui-title {
      font-family: 'Mona Sans', sans-serif; /* Global Heading Font */
      font-size: clamp(2.2rem, 4vw, 3rem); /* Fluid typography */
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 25px;
  }

  .text-teal { color: #28CCCD; }

  .ui-desc {
      font-size: 1.125rem;
      color: #94A3B8;
      line-height: 1.6;
      margin-bottom: 40px;
  }

  /* --- REVENUE STATS GRID --- */
  .stat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 120px;
  }

  .stat-card {
      background: rgba(13, 17, 23, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 30px 20px;
      text-align: center;
      transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
  }
  
  .stat-card:hover {
      transform: translateY(-5px);
      background: rgba(13, 17, 23, 0.9);
      box-shadow: 0 10px 40px rgba(0,0,0,0.5);
      border-color: #28CCCD;
  }

  .sc-val {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2rem, 3vw, 2.5rem);
      font-weight: 700;
      line-height: 1;
      margin-bottom: 10px;
      display: block;
      color: #fff;
  }
  
  .val-purple { color: #A855F7; }
  .val-teal { color: #28CCCD; }
  .val-green { color: #22C55E; }

  .sc-label {
      font-size: 0.85rem;
      color: #94A3B8;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 1px;
      margin-bottom: 15px;
      display: block;
  }

  .sc-bar {
      height: 4px;
      width: 100%;
      background: rgba(255,255,255,0.1);
      border-radius: 2px;
      overflow: hidden;
      margin: 0 auto;
  }
  
  .sc-fill {
      height: 100%;
      background: #28CCCD;
      border-radius: 2px;
      /* CSS-only animation on load */
      animation: barFill 1.5s ease-out forwards;
      max-width: 0; /* Starts at 0, animation handles fill */
  }

  @keyframes barFill {
    to { max-width: 100%; }
  }

  /* --- COMPARISON LAYERS (UI vs UX vs APP) --- */
  .layers-wrapper {
      background: linear-gradient(180deg, rgba(21, 30, 50, 0.4) 0%, rgba(13, 17, 23, 0.9) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 40px;
      padding: 60px;
      position: relative;
      overflow: hidden;
  }

  .lw-header {
      text-align: center;
      margin-bottom: 50px;
  }
  
  .lw-title {
      font-family: 'Mona Sans', sans-serif;
      font-size: clamp(1.8rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 10px;
  }

  .layers-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      align-items: stretch;
  }

  .layer-box {
      background: #0B0F19;
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 20px;
      padding: 30px;
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
  }
  
  .layer-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }

  /* Specific Layer Styles */
  .lb-ui { border-top: 4px solid #28CCCD; }
  .lb-ux { border-top: 4px solid #A855F7; }
  .lb-app { border-top: 4px solid #22C55E; }

  .lb-icon {
      font-size: 2rem;
      margin-bottom: 20px;
      display: inline-block;
  }
  .icon-ui { color: #28CCCD; }
  .icon-ux { color: #A855F7; }
  .icon-app { color: #22C55E; }

  .lb-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 15px;
  }

  .lb-list {
      list-style: none; padding: 0; margin: 0;
      font-size: 0.95rem; color: #94A3B8; line-height: 1.6;
  }
  .lb-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
      .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  }

  @media (max-width: 900px) {
      .layers-grid { grid-template-columns: 1fr; gap: 20px; }
      .layers-wrapper { padding: 40px 20px; }
      .ui-header { margin-bottom: 50px; }
      .stat-grid { margin-bottom: 80px; }
  }

  @media (max-width: 600px) {
      #uiux-what-is { padding: 80px 20px; }
      .stat-grid { grid-template-columns: 1fr; } /* Stack stats on very small screens */
      .ui-title { font-size: 2.2rem; }
  }
  
  


  /* =========================================
     SECTION 03 STYLES
     ========================================= */

  /* --- SCOPED VARIABLES & RESET --- */
  #uiux-gaps {
      position: relative;
      width: 100%;
      padding: 100px 20px;
      background: transparent;
      font-family: 'Plus Jakarta Sans', sans-serif; /* Global Body */
      color: #fff;
      box-sizing: border-box;
      overflow: hidden;
      z-index: 2;
  }
  
  #uiux-gaps * { box-sizing: border-box; }

  .gap-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 80px;
      position: relative;
      z-index: 2;
  }

  /* --- LEFT: VISUAL (Leaky Pipeline) --- */
  .gap-visual-col {
      flex: 1;
      display: flex;
      justify-content: center;
      position: relative;
  }

  .friction-card {
      width: 100%;
      max-width: 400px;
      height: 500px;
      background: rgba(13, 17, 23, 0.6);
      border: 1px solid rgba(255, 95, 86, 0.3); /* Red Warning */
      border-radius: 24px;
      padding: 40px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.4);
      position: relative;
      overflow: hidden;
  }

  /* The Pipeline */
  .pipeline-track {
      width: 10px;
      height: 100%;
      background: rgba(255,255,255,0.1);
      margin: 0 auto;
      position: relative;
      border-radius: 5px;
  }

  .user-dot {
      position: absolute;
      width: 12px; height: 12px;
      background: #fff;
      border-radius: 50%;
      left: 50%; transform: translateX(-50%);
      box-shadow: 0 0 10px #fff;
      opacity: 0;
  }

  /* Flow Animation (Success) */
  .ud-flow { animation: flowDown 3s infinite linear; }
  
  /* Leak Animations (Failure) */
  .ud-leak-1 { 
      animation: leakLeft 2.5s infinite ease-in 0.5s; 
      background: #FF5F56; 
      box-shadow: 0 0 10px #FF5F56; 
  }
  .ud-leak-2 { 
      animation: leakRight 3s infinite ease-in 1s; 
      background: #FF5F56; 
      box-shadow: 0 0 10px #FF5F56; 
  }

  /* Leak Points */
  .leak-point {
      position: absolute;
      left: 50%; transform: translateX(-50%);
      width: 200px;
      text-align: center;
      z-index: 2;
  }
  .lp-1 { top: 30%; }
  .lp-2 { top: 60%; }

  .lp-label {
      font-family: 'Space Grotesk', sans-serif; /* Global Tech Font */
      font-size: 0.75rem;
      color: #FF5F56;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: rgba(255, 95, 86, 0.1);
      padding: 4px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 5px;
  }

  .lp-stat { 
      font-family: 'Mona Sans', sans-serif;
      font-size: 1.5rem; 
      font-weight: 800; 
      color: #fff; 
  }

  /* --- RIGHT: CONTENT (Pain Points) --- */
  .gap-content-col {
      flex: 1.2;
  }

  .gap-header { margin-bottom: 40px; }

  .gap-badge {
      display: inline-block;
      padding: 6px 16px;
      background: rgba(255, 95, 86, 0.1);
      border: 1px solid rgba(255, 95, 86, 0.3);
      border-radius: 50px;
      color: #FF5F56;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
  }

  .gap-title {
      font-family: 'Mona Sans', sans-serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
  }

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

  .gap-item {
      background: rgba(255,255,255,0.03);
      border-left: 4px solid #FF5F56;
      padding: 25px;
      border-radius: 0 16px 16px 0;
      transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .gap-item:hover {
      background: rgba(255, 95, 86, 0.05);
      transform: translateX(10px);
  }

  .gi-head {
      display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  }
  .gi-icon { color: #FF5F56; font-size: 1.2rem; }
  
  .gi-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #fff;
  }

  .gi-desc {
      font-size: 0.95rem;
      color: #94A3B8;
      line-height: 1.6;
  }

  /* ANIMATIONS */
  @keyframes flowDown { 
      0% { top: 0; opacity: 0; } 
      20% { opacity: 1; }
      100% { top: 100%; opacity: 0; } 
  }
  @keyframes leakLeft {
      0% { top: 30%; left: 50%; opacity: 1; transform: translateX(-50%); }
      100% { top: 40%; left: 0%; opacity: 0; transform: translateX(-50%); }
  }
  @keyframes leakRight {
      0% { top: 60%; left: 50%; opacity: 1; transform: translateX(-50%); }
      100% { top: 70%; left: 100%; opacity: 0; transform: translateX(-50%); }
  }

  /* ACCESSIBILITY: Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
      .ud-flow, .ud-leak-1, .ud-leak-2 { animation: none; opacity: 1; }
      .ud-flow { top: 90%; }
      .ud-leak-1 { left: 10%; top: 35%; }
      .ud-leak-2 { left: 90%; top: 65%; }
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
      .gap-container { flex-direction: column; gap: 60px; }
      .gap-visual-col { width: 100%; }
      /* Ensure text comes first on mobile for context */
      .gap-content-col { width: 100%; order: -1; } 
      .friction-card { margin: 0 auto; height: 450px; }
  }
  
  @media (max-width: 480px) {
      #uiux-gaps { padding: 60px 20px; }
      .friction-card { height: 400px; }
      .leak-point { width: 140px; }
  }
