
    /* =========================================================
       DESIGN SYSTEM & REALISTIC DEPTH TOKENS
       ========================================================= */
    :root {
      /* Surface & Palette */
      --bg-deep: #07090e;
      --bg-card: rgba(13, 17, 28, 0.78);
      --bg-card-hover: rgba(18, 24, 38, 0.88);
      --bg-card-glass: rgba(16, 22, 36, 0.65);
      --bg-input: #090d18;
      --bg-code: #050811;

      /* Realistic Layered Borders */
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-highlight: rgba(255, 255, 255, 0.16);
      --border-glow: rgba(99, 102, 241, 0.45);

      /* Typography Colors - High Aesthetic & Public Attractive */
      --text-hero: #ffffff;
      --text-main: #f1f5f9;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --text-glow: rgba(255, 255, 255, 0.9);

      /* Accent & Brand Gradients */
      --accent: #6366f1;
      --accent-hover: #4f46e5;
      --accent-cyan: #06b6d4;
      --accent-purple: #a855f7;
      --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
      --accent-gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(168, 85, 247, 0.25) 50%, rgba(6, 182, 212, 0.2) 100%);
      --fire-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

      /* Realistic Tactile Shadows */
      --shadow-realistic:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 1px 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 16px 40px -12px rgba(0, 0, 0, 0.65);

      --shadow-card-hover:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 1px 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 24px 60px -15px rgba(0, 0, 0, 0.75),
        0 0 25px -5px rgba(99, 102, 241, 0.18);

      --shadow-input:
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.04);

      --shadow-btn:
        0 4px 14px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

      /* Functional Accents */
      --success: #10b981;
      --success-glow: rgba(16, 185, 129, 0.3);
      --danger: #f43f5e;
      --warning: #f59e0b;
      --info: #38bdf8;

      /* Radii */
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-full: 9999px;
    }

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

    body {
      background-color: var(--bg-deep);
      background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18), transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.14), transparent 40%),
        radial-gradient(circle at 15% 35%, rgba(6, 182, 212, 0.12), transparent 42%),
        radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.08), transparent 50%);
      background-attachment: fixed;
      color: var(--text-main);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Ambient Subtle Grid Pattern */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
      background-size: 36px 36px;
      pointer-events: none;
      z-index: 0;
    }

    .container {
      max-width: 1260px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* =========================================================
       NAVIGATION BAR (REALISTIC FROSTED GLASS)
       ========================================================= */
    .navbar {
      backdrop-filter: blur(20px) saturate(180%);
      background: rgba(7, 9, 14, 0.82);
      border-bottom: 1px solid var(--border-subtle);
      position: sticky;
      top: 0;
      z-index: 100;
      padding: 13px 0;
      transition: all 0.2s ease;
    }

    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text-hero);
    }

    .brand-logo-frame {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      background: #070a14;
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
      transition: all 0.25s ease;
    }

    .brand-logo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      display: block;
      transition: transform 0.25s ease;
    }

    .brand:hover .brand-logo-frame {
      transform: translateY(-1px) scale(1.05);
      border-color: rgba(99, 102, 241, 0.6);
      box-shadow: 0 0 24px rgba(99, 102, 241, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    }

    .brand:hover .brand-logo {
      transform: scale(1.08);
    }

    .brand-title-wrap {
      display: flex;
      flex-direction: column;
    }

    .brand-name {
      font-family: 'Outfit', sans-serif;
      font-size: 21px;
      font-weight: 800;
      letter-spacing: -0.02em;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .version-tag {
      font-size: 10.5px;
      font-family: 'JetBrains Mono', monospace;
      background: rgba(99, 102, 241, 0.15);
      color: #c7d2fe;
      padding: 2px 7px;
      border-radius: 6px;
      border: 1px solid rgba(99, 102, 241, 0.35);
      font-weight: 600;
      letter-spacing: 0.02em;
      -webkit-text-fill-color: initial;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.25);
      color: #34d399;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.01em;
      box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 10px var(--success);
      animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.45;
        transform: scale(0.8);
      }
    }

    /* Buttons with tactile realistic click effects */
    .btn-primary {
      background: var(--accent-gradient);
      color: #ffffff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 12px 22px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: var(--shadow-btn);
      position: relative;
      overflow: hidden;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: rgba(255, 255, 255, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-1.5px);
      box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
      filter: brightness(1.05);
    }

    .btn-primary:active {
      transform: translateY(1px);
      box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    }

    .btn-primary:disabled {
      opacity: 0.65;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 15px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s ease;
      text-decoration: none;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--border-highlight);
      color: #fff;
      transform: translateY(-1px);
    }

    .btn-secondary:active {
      transform: translateY(0);
    }

    .btn-github {
      border-color: rgba(245, 158, 11, 0.35);
      color: #fde047;
      background: rgba(245, 158, 11, 0.07);
    }

    .btn-github:hover {
      background: rgba(245, 158, 11, 0.15);
      border-color: rgba(245, 158, 11, 0.6);
      box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
    }

    /* =========================================================
       HERO SECTION (ATTRACTIVE PUBLIC DISPLAY)
       ========================================================= */
    .hero {
      text-align: center;
      padding: 40px 0 28px 0;
      position: relative;
    }

    /* Hero 3D Logo Showcase */
    .hero-showcase {
      display: inline-flex;
      position: relative;
      margin-bottom: 24px;
      justify-content: center;
      align-items: center;
    }

    .hero-glow-aura {
      position: absolute;
      width: 280px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, rgba(168, 85, 247, 0.35) 45%, transparent 75%);
      filter: blur(36px);
      z-index: 0;
      animation: pulseAura 4s ease-in-out infinite alternate;
      pointer-events: none;
    }

    @keyframes pulseAura {
      0% {
        opacity: 0.65;
        transform: scale(0.92);
      }

      100% {
        opacity: 1;
        transform: scale(1.08);
      }
    }

    .hero-logo-card {
      position: relative;
      z-index: 1;
      border-radius: 22px;
      background: rgba(8, 12, 24, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.15);
      padding: 10px;
      box-shadow:
        0 24px 60px -12px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(99, 102, 241, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(20px);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      animation: floatHeroLogo 5s ease-in-out infinite;
    }

    @keyframes floatHeroLogo {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .hero-logo-card:hover {
      transform: translateY(-4px) scale(1.03);
      border-color: rgba(99, 102, 241, 0.55);
      box-shadow:
        0 30px 70px -10px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(6, 182, 212, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);
    }

    .hero-showcase-img {
      display: block;
      width: 250px;
      height: auto;
      max-width: 100%;
      border-radius: 16px;
      filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.55));
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 6px 16px;
      border-radius: var(--radius-full);
      background: rgba(99, 102, 241, 0.09);
      border: 1px solid rgba(99, 102, 241, 0.28);
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 20px;
      letter-spacing: 0.02em;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-badge .pill {
      background: var(--accent-gradient);
      color: #fff;
      font-size: 10px;
      padding: 2px 7px;
      border-radius: var(--radius-full);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .hero-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(34px, 5.2vw, 56px);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.15;
      margin-bottom: 16px;
      color: var(--text-hero);
    }

    .hero-title .gradient-text {
      background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 40%, #38bdf8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 2px 20px rgba(168, 85, 247, 0.25));
    }

    .hero-subtitle {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 660px;
      margin: 0 auto;
      line-height: 1.65;
    }

    .hero-subtitle code {
      color: #a5b4fc;
      background: rgba(99, 102, 241, 0.14);
      padding: 2px 8px;
      border-radius: 6px;
      border: 1px solid rgba(99, 102, 241, 0.25);
      font-family: 'JetBrains Mono', monospace;
      font-size: 13.5px;
      font-weight: 600;
    }

    /* =========================================================
       METRICS / STATS CARDS (REALISTIC BOX TYPE WITH SPECULAR SHINE)
       ========================================================= */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin: 32px 0 38px 0;
    }

    @media (max-width: 980px) {
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

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

    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px 20px;
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow-realistic);
      transition: all 0.25s ease;
      position: relative;
      overflow: hidden;
    }

    /* Top specular highlight edge for realism */
    .metric-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    }

    .metric-card:hover {
      background: var(--bg-card-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-card-hover);
      border-color: rgba(99, 102, 241, 0.3);
    }

    .metric-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .metric-label {
      font-size: 11px;
      color: var(--text-dim);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .metric-icon-bubble {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
    }

    .metric-value {
      font-family: 'Outfit', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: var(--text-hero);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.01em;
    }

    .metric-sub {
      font-size: 11.5px;
      color: var(--text-dim);
      margin-top: 4px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    /* =========================================================
       WORKSPACE GRID (REALISTIC BOX TYPE CONTAINER)
       ========================================================= */
    .workspace-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
      gap: 24px;
      margin-bottom: 50px;
      align-items: start;
    }

    @media (max-width: 960px) {
      .workspace-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 24px;
      backdrop-filter: blur(20px);
      box-shadow: var(--shadow-realistic);
      position: relative;
      min-width: 0;
      overflow: hidden;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    /* Top Specular Realism Highlight */
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      pointer-events: none;
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border-subtle);
      gap: 12px;
      flex-wrap: wrap;
    }

    .card-title-group {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .card-title-icon {
      width: 34px;
      height: 34px;
      background: var(--accent-gradient-glow);
      border: 1px solid rgba(99, 102, 241, 0.3);
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
    }

    .card-title {
      font-family: 'Outfit', sans-serif;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: var(--text-hero);
    }

    .card-subtitle {
      font-size: 12px;
      color: var(--text-dim);
    }

    .badge-endpoint {
      background: rgba(99, 102, 241, 0.12);
      color: #c7d2fe;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 6px;
      border: 1px solid rgba(99, 102, 241, 0.28);
    }

    /* =========================================================
       PRESET TEMPLATES BAR (CONVENIENCE FEATURE)
       ========================================================= */
    .presets-container {
      background: rgba(9, 13, 24, 0.7);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      margin-bottom: 18px;
    }

    .presets-title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .presets-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .presets-tools {
      display: flex;
      gap: 8px;
    }

    .preset-btn-mini {
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-size: 11px;
      cursor: pointer;
      text-decoration: underline;
      transition: color 0.15s;
    }

    .preset-btn-mini:hover {
      color: var(--text-main);
    }

    .presets-row {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .preset-chip {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 5px 9px;
      font-size: 11.5px;
      color: var(--text-muted);
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.15s ease;
    }

    .preset-chip:hover {
      background: rgba(99, 102, 241, 0.15);
      border-color: rgba(99, 102, 241, 0.4);
      color: #fff;
      transform: translateY(-1px);
    }

    .preset-chip.active {
      background: rgba(99, 102, 241, 0.22);
      border-color: rgba(99, 102, 241, 0.5);
      color: #e0e7ff;
    }

    /* =========================================================
       REALISTIC FORM STYLING
       ========================================================= */
    .form-group {
      margin-bottom: 15px;
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
    }

    .form-label {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .form-label span.req {
      color: #fb7185;
      font-weight: 700;
    }

    .form-input,
    .form-textarea {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      color: var(--text-main);
      font-family: inherit;
      font-size: 13.5px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: var(--shadow-input);
      outline: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
      color: #475569;
    }

    .form-input:hover,
    .form-textarea:hover {
      border-color: rgba(255, 255, 255, 0.15);
    }

    .form-input:focus,
    .form-textarea:focus {
      border-color: var(--accent);
      background: #0c1222;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.4);
    }

    .form-textarea {
      resize: vertical;
      min-height: 95px;
      line-height: 1.5;
      font-family: inherit;
    }

    .format-toggle-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }

    .format-switcher {
      display: inline-flex;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 2px;
      gap: 2px;
    }

    .format-btn {
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .format-btn.active {
      background: rgba(99, 102, 241, 0.25);
      color: #fff;
    }

    /* Response Notification Banner */
    .response-banner {
      margin-top: 14px;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      display: none;
      animation: bannerSlideIn 0.25s ease;
      word-break: break-all;
    }

    @keyframes bannerSlideIn {
      from {
        opacity: 0;
        transform: translateY(-6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .response-banner.success {
      display: block;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.35);
      color: #6ee7b7;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.12);
    }

    .response-banner.error {
      display: block;
      background: rgba(244, 63, 94, 0.1);
      border: 1px solid rgba(244, 63, 94, 0.35);
      color: #fda4af;
      box-shadow: 0 4px 15px rgba(244, 63, 94, 0.12);
    }

    /* =========================================================
       DISPATCH HISTORY (CONVENIENCE FEATURE)
       ========================================================= */
    .history-section {
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px solid var(--border-subtle);
    }

    .history-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .history-title {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .history-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      max-height: 125px;
      overflow-y: auto;
    }

    .history-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 6px 10px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      font-size: 11.5px;
      transition: background 0.15s;
    }

    .history-item:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .history-left {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .history-pill-success {
      color: var(--success);
      font-weight: 700;
      font-size: 10px;
    }

    .history-pill-fail {
      color: var(--danger);
      font-weight: 700;
      font-size: 10px;
    }

    .history-action-btn {
      background: transparent;
      border: none;
      color: #a5b4fc;
      font-size: 11px;
      cursor: pointer;
      font-weight: 600;
    }

    .history-action-btn:hover {
      text-decoration: underline;
    }

    /* =========================================================
       RIGHT CARD: TABS, LIVE EMAIL PREVIEW & CODE BOX
       ========================================================= */
    .tabs-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 10px;
      margin-bottom: 14px;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tabs-group {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
    }

    .tab-btn {
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-dim);
      font-size: 12px;
      font-weight: 600;
      padding: 5px 11px;
      border-radius: 7px;
      cursor: pointer;
      transition: all 0.15s ease;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .tab-btn:hover:not(.active) {
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.04);
    }

    .tab-btn.active {
      color: #ffffff;
      background: rgba(99, 102, 241, 0.2);
      border-color: rgba(99, 102, 241, 0.35);
      box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
    }

    .tab-btn.preview-tab.active {
      background: rgba(16, 185, 129, 0.18);
      border-color: rgba(16, 185, 129, 0.35);
      color: #6ee7b7;
    }

    .copy-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }

    .copy-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      border-color: var(--border-highlight);
    }

    .code-container {
      background: var(--bg-code);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      line-height: 1.6;
      color: #e2e8f0;
      overflow-x: auto;
      max-height: 255px;
      min-width: 0;
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    .code-container pre {
      margin: 0;
      white-space: pre-wrap;
      word-break: break-word;
    }

    /* Live Email Preview Simulation Container */
    .preview-container {
      display: none;
      background: #f1f5f9;
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      max-height: 255px;
      overflow-y: auto;
    }

    .preview-browser-bar {
      background: #e2e8f0;
      padding: 8px 12px;
      border-bottom: 1px solid #cbd5e1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: #475569;
    }

    .preview-dots {
      display: flex;
      gap: 5px;
    }

    .preview-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .preview-body-content {
      padding: 16px;
      color: #1e293b;
      font-size: 13px;
      line-height: 1.6;
    }

    /* Terminal & Live Logs */
    .terminal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
      margin-bottom: 8px;
      flex-wrap: wrap;
      gap: 8px;
    }

    .terminal-title {
      font-size: 12.5px;
      font-weight: 700;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .terminal-tools {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .live-pulse-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 10.5px;
      color: #34d399;
      font-weight: 600;
      padding: 2px 7px;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.2);
      border-radius: var(--radius-full);
    }

    .live-pulse-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
      animation: pulse 1.5s infinite;
    }

    .terminal-box {
      background: #03060c;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      line-height: 1.6;
      color: #94a3b8;
      height: 170px;
      overflow-y: auto;
      white-space: pre-wrap;
      word-break: break-all;
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
    }

    .log-line-info {
      color: #93c5fd;
    }

    .log-line-error {
      color: #fca5a5;
    }

    .log-line-warn {
      color: #fcd34d;
    }

    /* =========================================================
       API SCHEMA REFERENCE TABLE (REALISTIC CARD WITH EMBOSSED ROWS)
       ========================================================= */
    .section-header {
      margin-bottom: 20px;
    }

    .section-title {
      font-family: 'Outfit', sans-serif;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
      color: var(--text-hero);
    }

    .section-subtitle {
      color: var(--text-muted);
      font-size: 14px;
    }

    .table-responsive {
      overflow-x: auto;
      min-width: 0;
    }

    .api-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13.5px;
      text-align: left;
    }

    .api-table th {
      padding: 12px 16px;
      background: rgba(255, 255, 255, 0.02);
      color: var(--text-dim);
      font-weight: 700;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .api-table td {
      padding: 13px 16px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-main);
    }

    .api-table tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }

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

    .api-table code {
      font-family: 'JetBrains Mono', monospace;
      background: rgba(99, 102, 241, 0.12);
      color: #c7d2fe;
      padding: 2px 6px;
      border-radius: 4px;
      border: 1px solid rgba(99, 102, 241, 0.2);
      font-size: 12px;
    }

    /* =========================================================
       DEPLOY CARDS (REALISTIC BOX TYPE WITH HOVER LIFT)
       ========================================================= */
    .deploy-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-bottom: 45px;
    }

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

    .deploy-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.25s ease;
      box-shadow: var(--shadow-realistic);
      position: relative;
    }

    .deploy-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    }

    .deploy-card:hover {
      border-color: rgba(99, 102, 241, 0.35);
      transform: translateY(-3px);
      box-shadow: var(--shadow-card-hover);
      background: var(--bg-card-hover);
    }

    .deploy-card-title {
      font-family: 'Outfit', sans-serif;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-hero);
    }

    .deploy-card-desc {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.55;
      margin-bottom: 18px;
    }

    /* =========================================================
       TOAST NOTIFICATION COMPONENT (FLOATING CONVENIENCE)
       ========================================================= */
    .toast-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
    }

    .toast {
      pointer-events: auto;
      background: rgba(13, 17, 28, 0.95);
      border: 1px solid var(--border-highlight);
      border-radius: var(--radius-md);
      padding: 12px 18px;
      color: #fff;
      font-size: 13px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(99, 102, 241, 0.2);
      backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      gap: 10px;
      animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      transition: all 0.2s ease;
      min-width: 260px;
      max-width: 380px;
    }

    .toast.hide {
      opacity: 0;
      transform: translateX(30px);
    }

    @keyframes toastIn {
      from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .toast-icon {
      font-size: 16px;
      flex-shrink: 0;
    }

    .toast-content {
      flex: 1;
    }

    .toast-title {
      font-weight: 700;
      font-size: 13px;
      color: #fff;
    }

    .toast-msg {
      font-size: 11.5px;
      color: var(--text-muted);
      margin-top: 1px;
    }

    /* =========================================================
       TRANSPORTER DIAGNOSTIC MODAL (CONVENIENCE POPUP)
       ========================================================= */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(10px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal-backdrop.open {
      display: flex;
      animation: fadeIn 0.2s ease;
    }

    .modal-card {
      background: #0d1220;
      border: 1px solid var(--border-highlight);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 520px;
      padding: 24px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.25);
      position: relative;
      animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes modalScale {
      from {
        opacity: 0;
        transform: scale(0.94);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .modal-close-btn {
      position: absolute;
      top: 18px;
      right: 18px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.15s ease;
    }

    .modal-close-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border-subtle);
      padding: 34px 0;
      text-align: center;
      color: var(--text-dim);
      font-size: 13px;
      margin-top: 45px;
    }

    footer a {
      color: #a5b4fc;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.15s;
    }

    footer a:hover {
      color: #fff;
      text-decoration: underline;
    }

    /* Scrollbars */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.2);
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.25);
    }
  