:root {
      --bg-color: #0b1120;
      --card-color: #111827;
      --border-color: rgba(255,255,255,0.08);
      --primary: #6366f1;
      --primary-light: #818cf8;
      --text-light: #cbd5e1;
      --muted: #94a3b8;
    }

    body {
      background: radial-gradient(circle at top, #172554, #0b1120 60%);
      color: white;
      font-family: Arial, sans-serif;
      min-height: 100vh;
    }

    /* Navbar */
    .navbar-custom {
      background: rgba(11, 17, 32, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      padding: 14px 0;
    }

    .logo-box {
      width: 45px;
      height: 45px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), #8b5cf6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: white;
      box-shadow: 0 0 20px rgba(99,102,241,0.4);
    }

    .brand-title {
      font-size: 24px;
      font-weight: 700;
      margin-left: 12px;
    }

    .nav-link {
      color: var(--text-light) !important;
      margin-left: 12px;
      font-weight: 500;
    }

    .nav-link:hover {
      color: white !important;
    }

    /* Hero Section */
    .hero {
      padding: 80px 0 50px;
      text-align: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(99,102,241,0.15);
      color: #a5b4fc;
      padding: 10px 18px;
      border-radius: 50px;
      font-size: 14px;
      margin-bottom: 25px;
    }

    .hero-title {
      font-size: 56px;
      font-weight: 800;
      margin-bottom: 18px;
      line-height: 1.1;
    }

    .hero-title span {
      background: linear-gradient(90deg, #818cf8, #c084fc);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      color: var(--muted);
      max-width: 700px;
      margin: auto;
      font-size: 18px;
      line-height: 1.7;
    }

    /* Main Layout */
    .main-wrapper {
      margin-top: 40px;
      margin-bottom: 70px;
    }

    .main-card {
      background: rgba(17, 24, 39, 0.85);
      border: 1px solid var(--border-color);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    }

    /* Left Panel */
    .left-panel {
      background: rgba(255,255,255,0.02);
      padding: 35px;
      height: 100%;
      border-right: 1px solid var(--border-color);
    }

    .feature-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 18px;
      padding: 20px;
      margin-bottom: 18px;
      transition: 0.3s;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      border-color: rgba(99,102,241,0.4);
    }

    .feature-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: rgba(99,102,241,0.12);
      color: #a5b4fc;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 16px;
    }

    .feature-card h5 {
      font-size: 17px;
      margin-bottom: 8px;
    }

    .feature-card p {
      color: var(--muted);
      font-size: 14px;
      margin: 0;
    }

    /* Right Panel */
    .right-panel {
      padding: 40px;
    }

    .section-title {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-light);
      margin-bottom: 12px;
      font-weight: 600;
    }

    .form-select,
    .form-control {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      color: white;
      border-radius: 16px;
      padding: 16px;
    }

    .form-select:focus,
    .form-control:focus {
      background: rgba(255,255,255,0.06);
      color: white;
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(99,102,241,0.2);
    }

    .form-control::placeholder {
      color: #64748b;
    }

    textarea {
      min-height: 320px;
      resize: vertical;
      font-family: "Courier New", monospace;
    }

    /* Analyze Button */
    .analyze-btn {
      background: linear-gradient(135deg, var(--primary), #8b5cf6);
      border: none;
      border-radius: 16px;
      padding: 16px;
      font-size: 16px;
      font-weight: 700;
      transition: 0.3s;
    }

    .analyze-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(99,102,241,0.3);
    }

    /* Output */
    .output-box {
      background: #020617;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 18px;
      padding: 22px;
      min-height: 260px;
      color: #e2e8f0;
      white-space: pre-wrap;
      font-family: "Courier New", monospace;
      overflow-x: auto;
    }

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

    .output-badge {
      background: rgba(99,102,241,0.12);
      color: #a5b4fc;
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 600;
    }

    /* Footer */
    .footer {
      border-top: 1px solid var(--border-color);
      padding: 24px 0;
      text-align: center;
      color: var(--muted);
      margin-top: 50px;
    }

    /* Responsive */
    @media (max-width: 991px) {

      .left-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
      }

      .hero-title {
        font-size: 42px;
      }

      .right-panel {
        padding: 25px;
      }
    }

.output-section {
    background: #111;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.output-section h5 {
    color: #00d4ff;
    margin-bottom: 10px;
}

#fixedCode {
    background: #000;
    padding: 10px;
    border-radius: 6px;
    font-family: monospace;
}

.code-container {
    background: #0d1117; /* VS Code dark */
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-top: 10px;
    border: 1px solid #1f2937;
}

.code-container code {
    font-family: "Fira Code", monospace;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    white-space: pre;
    background: none !important; /* 🔥 FIX: remove weird blocks */
}

pre[class*="language-"] {
    background: transparent !important;
    margin: 0;
    padding: 0;
}

code[class*="language-"] {
    background: none !important;
}

.footer a {
    color: #00d4ff;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}